package com.health.db.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserLISTTemp implements Serializable {
	/*userId	String	Y	会员ID
	userName	String	Y	会员昵称（默认会员电话）
	userPhone	String 	Y	会员电话
	regTime	String	Y	注册时间
	icon	String	N	头像路径
	balance String 余额
	leftTime01 int 专家图文咨询次数
	leftTime02 int 电话咨询时间
	leftTime03 int 视频咨询时间
	leftTime04 int 免服务费送药次数
	leftTime05 int 免服务费挂号次数*/
	private static final long serialVersionUID = 6574395419400348789L;
	private String userId;
	private String userName  ="";
	private String userPhone  ="";
	private Date regTime;
	private String icon ="";
	private String token;
	private Short isExportFlag =0;
	private String balance = "0.00";
	private int leftTime01 =0;
	private String leftTime02 ="0";
	private int leftTime03 =0;
	private int leftTime04 =0;
	private int leftTime05 =0;
	
	private String vipLevel="0";

	private Integer userTypeId;
	
	private String businessCode="-";
	
	
	public String getBusinessCode() {
		return businessCode;
	}
	public void setBusinessCode(String businessCode) {
		this.businessCode = businessCode;
	}
	/**
	 * @return the userTypeId
	 */
	public Integer getUserTypeId() {
		return userTypeId;
	}
	/**
	 * @param userTypeId the userTypeId to set
	 */
	public void setUserTypeId(Integer userTypeId) {
		this.userTypeId = userTypeId;
	}
	
	public String getVipLevel() {
		return vipLevel;
	}
	public void setVipLevel(String vipLevel) {
		this.vipLevel = vipLevel;
	}
	/**
	 * @return the userId
	 */
	public String getUserId() {
		return userId;
	}
	/**
	 * @param userId the userId to set
	 */
	public void setUserId(String userId) {
		this.userId = userId;
	}
	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}
	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}
	/**
	 * @return the userPhone
	 */
	public String getUserPhone() {
		return userPhone;
	}
	/**
	 * @param userPhone the userPhone to set
	 */
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
	
	public Date getRegTime() {
		return regTime;
	}
	public void setRegTime(Date regTime) {
		this.regTime = regTime;
	}
	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}
	/**
	 * @param icon the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}
	
	
	
	/**
	 * @return the balance
	 */
	public String getBalance() {
		return balance;
	}
	/**
	 * @param balance the balance to set
	 */
	public void setBalance(String balance) {
		
		BigDecimal temp = new BigDecimal(balance);
		this.balance = String.valueOf(temp.setScale(2));
	}
	public int getLeftTime01() {
		return leftTime01;
	}
	public void setLeftTime01(int leftTime01) {
		this.leftTime01 = leftTime01;
	}

	
	public String getLeftTime02() {
		return leftTime02;
	}
	public void setLeftTime02(String leftTime02) {
		this.leftTime02 = leftTime02;
	}
	public int getLeftTime03() {
		return leftTime03;
	}
	public void setLeftTime03(int leftTime03) {
		this.leftTime03 = leftTime03;
	}
	public int getLeftTime04() {
		return leftTime04;
	}
	public void setLeftTime04(int leftTime04) {
		this.leftTime04 = leftTime04;
	}
	public Short getIsExportFlag() {
		return isExportFlag;
	}
	public void setIsExportFlag(Short isExportFlag) {
		this.isExportFlag = isExportFlag;
	}
	public int getLeftTime05() {
		return leftTime05;
	}
	public void setLeftTime05(int leftTime05) {
		this.leftTime05 = leftTime05;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	
	
	
	
}